From 74e2e52787d3c2c3802305604ed64697d2178b20 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Tue, 25 Apr 2006 23:50:27 +0000 Subject: [PATCH] Add new style sheets for swedish Kartex format. --- gpsbabel/style/ktf2.style | 36 ++++++++++++++++++++++++++++++++++++ gpsbabel/style/kwf2.style | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 gpsbabel/style/ktf2.style create mode 100644 gpsbabel/style/kwf2.style diff --git a/gpsbabel/style/ktf2.style b/gpsbabel/style/ktf2.style new file mode 100644 index 000000000..f0627ebbf --- /dev/null +++ b/gpsbabel/style/ktf2.style @@ -0,0 +1,36 @@ +# gpsbabel XCSV style file +# +# Format: Kartex KTF 2.0 Degrees plus Minutes with decimals +# Author: Harald Nordius +# Date: 4/13 2006 +# +# +DESCRIPTION Kartex 5 Track File +EXTENSION ktf +SHORTLEN 10 +SHORTWHITE 1 +ENCODING CP1252 +# +# +# FILE LAYOUT DEFINITIIONS: +# +FIELD_DELIMITER COMMA +RECORD_DELIMITER NEWLINE +# +# +# FILE HEADER +# +PROLOGUE //Kartex Track File created by GPSBabel +PROLOGUE &KWF 2.0,sweref 99 lat long,1 +# +# +# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE: +# +IFIELD CONSTANT, %, "%s" +IFIELD INDEX, "", "%d" +IFIELD LATLON_HUMAN_READABLE,"","%c%d°%f'" +IFIELD ALT_METERS,"0.00","%.2f" +IFIELD GMT_TIME, "", "%Y-%m-%d %H:%M:%S" +IFIELD IGNORE, "", "%s" #Empty field +IFIELD IGNORE, "", "%s" #Empty field +IFIELD CONSTANT, "$", "%s" \ No newline at end of file diff --git a/gpsbabel/style/kwf2.style b/gpsbabel/style/kwf2.style new file mode 100644 index 000000000..7b6a2d8b4 --- /dev/null +++ b/gpsbabel/style/kwf2.style @@ -0,0 +1,38 @@ +# gpsbabel XCSV style file +# +# Format: Kartex KWF 2.0 Degrees plus Minutes with decimals +# Author: Harald Nordius +# Date: 12/08 2004 +# +# +DESCRIPTION Kartex 5 Waypoint File +EXTENSION kwf +SHORTLEN 10 +SHORTWHITE 1 +ENCODING CP1252 +# +# +# FILE LAYOUT DEFINITIIONS: +# +FIELD_DELIMITER COMMA +RECORD_DELIMITER NEWLINE +# +# +# FILE HEADER +# +PROLOGUE //Kartex Waypoint File created by GPSBabel +PROLOGUE &KWF 2.0,sweref 99 lat long,1 +# +# +# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE: +# +IFIELD CONSTANT, \#, "%s" +IFIELD INDEX,"","%d" +IFIELD SHORTNAME,"","%s" +IFIELD LATLON_HUMAN_READABLE,"","%c%d°%f'" +IFIELD ALT_METERS,"0.00","%.2f" +IFIELD IGNORE, "","%s" #Empty field +IFIELD IGNORE, "","%s" #Empty field +IFIELD CONSTANT, "0","%s" #Waypoint symbol code +IFIELD DESCRIPTION, "", "%s" +IFIELD CONSTANT, "$", "%s" \ No newline at end of file -- 2.30.2